<?php
include '../../include/functions.php';
//Connect To Database
dbConnect();

//Get this week
$CurrWeek = getWeek("NHL");
?>
<!DOCTYPE html PUBLIC "-//W3C//Dtd html 4.01 Transitional//EN"
"http://www.w3.org/tr/html4/loose.dtd">
<html>
  <head>
     <title>JoshHughes.com NHL Hockey Pool</title>
	<link rel="shortcut icon" href="http://hockey.joshhughes.com/NHL/images/nhlFavicon.gif" />
	<link rel="stylesheet" href="http://hockey.joshhughes.com/css/NHL.css" type="text/css">
    <script src="http://hockey.joshhughes.com/scripts/prototype.js" type="text/javascript"></script>
	<script src="http://hockey.joshhughes.com/scripts/scriptaculous.js" type="text/javascript"></script>
	<script src="http://hockey.joshhughes.com/scripts/hockey.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="http://hockey.joshhughes.com/css/ajaxtabs.css" />
	<script type="text/javascript" src="http://hockey.joshhughes.com/scripts/ajaxtabs.js">
	
	/***********************************************
	* Ajax Tabs Content script- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
	* This notice MUST stay intact for legal use
	* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
	***********************************************/
	
	</script>
  </head>
<body>
<div id="pagewidth" >
	<div id="header" >
	
		<?PHP include_once("http://hockey.joshhughes.com/NHL/layout/header.html"); ?>
		
	</div>
			<div id="wrapper" class="clearfix" > 
			<div id="maincol" >

			<ul id="maintab" class="shadetabs">
			<li
			<? 
			if (!$view)
				echo " class=\"selected\"";
			?>
			><a href="#default" rel="ajaxcontentarea">Standings</a></li>
			<li
			<? 
			if ($view=="score")
				echo " class=\"selected\"";
			?>><a href="standings-by-score.php" rel="ajaxcontentarea">Games Scores</a></li>
			<li
			<? 
			if ($view=="percent")
				echo " class=\"selected\"";
			?>><a href="standings-by-percentage.php" rel="ajaxcontentarea">Games Percentage</a></li>
			<li
			<? 
			if ($view=="seriesscore")
				echo " class=\"selected\"";
			?>><a href="standings-by-series.php" rel="ajaxcontentarea">Series Scores</a></li>
			<li
			<? 
			if ($view=="totalscore")
				echo " class=\"selected\"";
			?>><a href="standings-by-total.php" rel="ajaxcontentarea">Total Scores</a></li>

			</ul>
			
			<div id="ajaxcontentarea" class="contentstyle">
				<p align="center">				  <span  style="color: #172693; font-weight: bold;">
					Current Pool Standings as of <?=date("m/d/Y");?>
					</span>
					<br/>
					<br/>
					* NOTE: &quot;Picks Made&quot; DO NOT represent picks made for the upcoming games, only games that have already been played and ended.
					<br/>
				</p>
			</div>
			<script type="text/javascript">
			//Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma.
			startajaxtabs("maintab")
			</script>
			
			
			</div>
			<div id="leftcol" >
				<?PHP include_once("http://hockey.joshhughes.com/NHL/layout/left_column.php"); ?>
			</div>
			
		</div>
		
		<div id="footer" >
			<?PHP include_once("http://hockey.joshhughes.com/NHL/layout/footer.html"); ?>
		</div>
</div>
</body>
</html>